﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:d="http://www.xidea.org/taglib/decorator" lang="zh_CN">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="JSA,JSIntegration,JavaScript Integration,脚本,压缩,混淆" />
        <title>Xidea Webstart 小工具集</title>
        <style>
		html{
		    text-align:center;
		    font-size:12px;
		    background:#333;
		    padding:20px;
		    margin:0px;
		}
		body{
		    width:650px;
		    text-align:left;
		    margin:auto;
		    padding:8px;
		    background:#fefefe;
		    border:3px double #DDD;
		    height:500px;
		    overflow:visiable;
		}
		</style>
    </head>
    <body>
        <OBJECT
            codeBase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_05-windows-i586.cab
            classid=clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284 height=0 width=0>
           <!--PARAM name=app
                VALUE=http://java.sun.com/products/javawebstart/apps/notepad.jnlp-->
           <PARAM NAME=back VALUE=false>
        </OBJECT>
        <script>
        if (navigator.mimeTypes && navigator.mimeTypes.length) {
            function webstartVersionCheck(versionString) {
                // Mozilla may not recognize new plugins without this refresh
                //navigator.plugins.refresh(true);
                // First, determine if Web Start is available
                if (navigator.mimeTypes['application/x-java-jnlp-file']) {
                    // Next, check for appropriate version family
                    for (var i = 0; i < navigator.mimeTypes.length; ++i) {
                        pluginType = navigator.mimeTypes[i].type;
                        if (pluginType == "application/x-java-applet;version=" + versionString) {
                            return true;
                        }
                     }
                 }
            }
            if (!navigator.mimeTypes['application/x-java-jnlp-file'] || !webstartVersionCheck("1.5")) {
                alert("您的浏览器不支持Webstart1.5");
                var win = window.open("http://jdl.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=java.com","needdownload");
                if(!win){
                    document.write("<a style='font-size:50px;background:yellow' href='http://jdl.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=java.com'>下载Webstart1.5</a>");
                }
            }
        }
        </script>
        <h3>在线Webstart小工具</h3>
        <ul>
            <li><a href="encoding-transformer.jnlp">批量编码转换工具</a></li>
            <li><a href="water-marker.jnlp" >网页水印工具</a></li>
            <li><a href="JSA.jnlp" title="脚本压缩、分析工具">JSA （测试版）</a></li>
        </ul>
    </body>
</html>

